package cn.cool.middleware.biz_exception_retry.types.common;

import lombok.Getter;

@Getter
public enum BizExceptionRetryConstantsVO {
    BIZ_EXCEPTION_RETRY_EXCEPTION_TYPE("业务异常重试类型的最长长度", 128),

    BIZ_EXCEPTION_RETRY_EXCEPTION_DESC("业务异常重试描述的最长长度", 128),

    BIZ_EXCEPTION_RETRY_BEAN_NAME("自定义业务异常重试-类型的BeanName", 128),

    BIZ_EXCEPTION_RETRY_OBJECT_ID("自定义业务异常重试-object id的最长长度", 128),
    ;

    private final String info;
    private final int length;

    BizExceptionRetryConstantsVO(String info, int length) {
        this.info = info;
        this.length = length;
    }
}
